package com.citywy.service;

import com.citywy.domain.Account;

public interface AccountService {
    //根据ID查询账户
    Account findAccountById(int id);

    /**
     * 转账
     * @param sourceName
     * @param targetName
     * @param money
     */
    void transfer(String sourceName,String targetName,Float money);
}
